<?php
	session_start(); 
	if(!isset($_SESSION['guid']) || !$_SESSION['role'] || !$_SESSION['wid']){
		if(!$_SESSION['role']) {
		header("Location: login.php");
		exit;
		}
	}
?>